<div class="sub-leftbar companyLeftBar">
    <h2>Nyheter</h2>
    <?php
    
    // list company news
    if(count($companyNews)>0){
        $list = $companyNews;
        for($i=0;$i<10;$i++){
            echo $list[$i]['date_publish'].'<br/>';
            echo '<strong>'.$list[$i]['title'].'</strong>';
            echo '<br/><br/>';

        }

        echo '<hr/>';
        echo '<a href="company/news/'.$pageID.'">Visa fler >></a>';
    }
    ?>
</div>

<div class="sub-main">